<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>INDEX</title>
</head>
<body>
<div id="mills"></div>
<script type="text/javascript">
    var dom = document.getElementById("mills");
    var sum = 1000;
    var interval = setInterval(function () {
        sum -= 5;
        dom.innerText = sum;
        if(sum <= 0){
            clearInterval(interval);
            location.href="/index";
        }
    },5);
    /*setTimeout(function () {
       location.href="/index";
    },1000);*/
</script>

</body>
</html>
